<form name="docview" method ="post">
<TABLE width=100% cellspacing= 2 cellpadding=0>
	<TR bgcolor=black>
		<TD Colspan=2>
			<FONT color=white>&nbsp;<B>ORDER DETAILS</B></font>
		</TD>
	</TR>
	<TR>
		<TD width=2 colspan=2>
			<img src="?drawimage=images/spacer.gif" width=1 height=3>
		</TD>
	</TR>
<TR bgcolor=lightgrey>
		<TD width=200 bgcolor=lightgrey>
			Customer Name :
		</TD>
    	        <TD >
			<%#CustomerName%>
		</TD>
</TR>

<TR bgcolor=lightgrey>
		<TD width=200 bgcolor=lightgrey>
			Product Code :
		</TD>
    	        <TD >
			<%#ProdCode%>
		</TD>
</TR>
<TR bgcolor=lightgrey>
		<TD width=200 bgcolor=lightgrey>
			Product Name :
		</TD>
    	        <TD >
			<%#ProductName%>
		</TD>
</TR>


<TR bgcolor=lightgrey>
		<TD width=200 bgcolor=lightgrey>
			Win Price :
		</TD>
    	        <TD >
			<%#WinPrice%>
		</TD>
</TR>


<TR bgcolor=lightgrey>
		<TD width=200 bgcolor=lightgrey>
			Install Price :
		</TD>
    	        <TD >
		       	<%#InstallPrice%>
		</TD>
</TR>



<TR bgcolor=lightgrey>
		<TD width=100 bgcolor=lightgrey>
			Annual Price :
		</TD>
		<TD >
			<%#AnnualPrice%>
		</TD>
</TR>

				

<TR bgcolor=lightgrey>
		<TD width=100 bgcolor=lightgrey>
			FinalInstallPrice :
		</TD>
		<TD >
			<%#MarginalInstallPrice%>
		</TD>
</TR>
<TR bgcolor=lightgrey>
		<TD width=100 bgcolor=lightgrey>
			FinalAnnualPrice :
		</TD>
		<TD >
			<%#MarginalAnnualPrice%>
		</TD>
</TR>

		<TD width=2 colspan=2>
			<img src="?drawimage=images/spacer.gif" width=1 height=3>
		</TD>
	</TR><%#ManagerDSection%>
<TR>
				<TD width=2 colspan=2>
					<img src="?drawimage=images/spacer.gif" width=1 height=3>
				</TD>
</TR>

</TABLE>
<input type ="hidden" name ="Flag" value="<%#Flag%>" >
</form>
<script>
function CheckPercentage()
{
if (docview.Flag.value == "M")
{
	if (docview.Discount.value > 5)
	{
		alert("The discount percentage must be less than 5");
                return false;
	}
}
else
{
	if (docview.Discount.value > 10)
	{
		alert("The discount percentage must be less than 10");
                return false;
	}
}

}
</script>







